package com.gl.order.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Author: liangSY
 * @Date: 2021/6/23 9:10
 * @ClassName: SysDictDto
 */
@Data
@Builder
@ApiModel("添加字典相关参数")
public class SysDictAddDto {

    @ApiModelProperty("名称")
    @NotBlank(message = "名称不能为空")
    private String name;

    @ApiModelProperty("类型")
    @NotBlank(message = "类型不能为空")
    private String type;

    @NotBlank(message = "参数不能为空")
    private String notType;

    @ApiModelProperty("注意事项")
    private String remark;
}
